Zum Hauptinhalt springen
GET
[BETA] Get Toppie Campaign Details

Autorisierungen

Authorization
string
header
erforderlich

A valid API key generated in Topsort's UI. Use the TSE API key if calling auctions or events API, otherwise use the TSC API key.

Pfadparameter

campaign_id
string<uuid>
erforderlich

The ID of the campaign.

Antwort

Successful Response

Represents a public version of an agency campaign, used in API responses.

id
string<uuid>
erforderlich

Internal identifier for the agency campaign

name
string
erforderlich

Campaign name

adFormat
enum<string>
erforderlich

The ad format for this campaign

Verfügbare Optionen:
banner,
listing
chargeType
enum<string>
erforderlich

The charge type for this campaign, derived from adFormat

Verfügbare Optionen:
CPC,
CPM
accountId
string<uuid>
erforderlich

Account that owns this campaign

budget
integer
erforderlich

Budget amount for each budgetPeriod, or for the whole campaign when budgetPeriod is total, in minor units of currencyCode.

budgetPeriod
enum<string>
erforderlich

The periodicity of the budget

Verfügbare Optionen:
daily,
weekly,
monthly,
total
startDate
string<date-time>
erforderlich

Date when the campaign starts, specified in RFC 3339. Must include the Timezone definition.

endDate
string<date-time>
erforderlich

Date when the campaign ends, specified in RFC 3339. Must include the Timezone definition.

targetRoas
number
erforderlich

Target ROAS for the campaign

Erforderlicher Bereich: 0.5 <= x <= 20
currencyCode
string
erforderlich

Currency code this campaign is working with in ISO 4217 format

Beispiel:

"USD"

isActive
boolean
erforderlich

Flag to indicate if the campaign is active or not

createdAt
string<date-time>
erforderlich

Date and time when the campaign was created

bidCount
integer | null

Bid count for the campaign (optional)